package com.skivingcloud.admin.feignclient;

import com.skivingcloud.admin.sys.entity.FileInputStreamVo;
import com.skivingcloud.common.utils.ReturnT;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name="example-server/sysFile", fallback=FSysFileServiceFallback.class)
public interface FSysFileService {
    @PostMapping("/importInputStream")
    ReturnT<String> importInputStream(@RequestBody FileInputStreamVo fileInputStreamVo);
}
